package com.xm;


public class FreshJuiceTestEnum01 {

    public static void main(String[] args) {
        FreshJuice freshJuice = new FreshJuice();
        System.out.println(freshJuice.size);

        freshJuice.size = FreshJuice.FreshJuiceSize.SMALL;
        freshJuice.size = FreshJuice.FreshJuiceSize.MEDIUM;
        System.out.println(freshJuice.size);

    }
}

class FreshJuice {

    enum FreshJuiceSize {SMALL, MEDIUM, LARGE}

    FreshJuiceSize size;
}


